<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>PostgreSQL Error Codes</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.1.2 Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="Appendixes"
HREF="appendixes.html"><LINK
REL="PREVIOUS"
TITLE="Appendixes"
HREF="appendixes.html"><LINK
REL="NEXT"
TITLE="Date/Time Support"
HREF="datetime-appendix.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="stylesheet.css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=ISO-8859-1"><META
NAME="creation"
CONTENT="2011-12-01T22:07:59"></HEAD
><BODY
CLASS="APPENDIX"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="5"
ALIGN="center"
VALIGN="bottom"
><A
HREF="index.html"
>PostgreSQL 9.1.2 Documentation</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
TITLE="Appendixes"
HREF="appendixes.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
HREF="appendixes.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="60%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="20%"
ALIGN="right"
VALIGN="top"
><A
TITLE="Date/Time Support"
HREF="datetime-appendix.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="APPENDIX"
><H1
><A
NAME="ERRCODES-APPENDIX"
></A
>Appendix A. <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
> Error Codes</H1
><P
>  All messages emitted by the <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
>
  server are assigned five-character error codes that follow the SQL
  standard's conventions for <SPAN
CLASS="QUOTE"
>"SQLSTATE"</SPAN
> codes.  Applications
  that need to know which error condition has occurred should usually
  test the error code, rather than looking at the textual error
  message.  The error codes are less likely to change across
  <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
> releases, and also are not subject to
  change due to localization of error messages. Note that some, but
  not all, of the error codes produced by <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
>
  are defined by the SQL standard; some additional error codes for
  conditions not defined by the standard have been invented or
  borrowed from other databases.
 </P
><P
>  According to the standard, the first two characters of an error code
  denote a class of errors, while the last three characters indicate
  a specific condition within that class.  Thus, an application that
  does not recognize the specific error code can still be able to infer
  what to do from the error class.
 </P
><P
>  <A
HREF="errcodes-appendix.html#ERRCODES-TABLE"
>Table A-1</A
> lists all the error codes defined in
  <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
> 9.1.2.  (Some are not actually
  used at present, but are defined by the SQL standard.)
  The error classes are also shown.  For each error class there is a
  <SPAN
CLASS="QUOTE"
>"standard"</SPAN
> error code having the last three characters
  <TT
CLASS="LITERAL"
>000</TT
>.  This code is used only for error conditions that fall
  within the class but do not have any more-specific code assigned.
 </P
><P
>  The symbol shown in the column <SPAN
CLASS="QUOTE"
>"Condition Name"</SPAN
> is also
  the condition name to use in <SPAN
CLASS="APPLICATION"
>PL/pgSQL</SPAN
>.  Condition
  names can be written in either upper or lower case.  (Note that
  <SPAN
CLASS="APPLICATION"
>PL/pgSQL</SPAN
> does not recognize warning, as opposed to error,
  condition names; those are classes 00, 01, and 02.)
 </P
><DIV
CLASS="TABLE"
><A
NAME="ERRCODES-TABLE"
></A
><P
><B
>Table A-1. <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
> Error Codes</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><COL
WIDTH="1*"
TITLE="errorcode"><COL
WIDTH="1*"
TITLE="condname"><THEAD
><TR
><TH
>Error Code</TH
><TH
>Condition Name</TH
></TR
></THEAD
><TBODY
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 00 &mdash; Successful Completion</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>00000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>successful_completion</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 01 &mdash; Warning</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>01000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>warning</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>0100C</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>dynamic_result_sets_returned</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>01008</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>implicit_zero_bit_padding</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>01003</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>null_value_eliminated_in_set_function</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>01007</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>privilege_not_granted</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>01006</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>privilege_not_revoked</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>01004</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>string_data_right_truncation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>01P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>deprecated_feature</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 02 &mdash; No Data (this is also a warning class per the SQL standard)</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>02000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>no_data</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>02001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>no_additional_dynamic_result_sets_returned</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 03 &mdash; SQL Statement Not Yet Complete</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>03000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>sql_statement_not_yet_complete</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 08 &mdash; Connection Exception</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>08000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>connection_exception</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>08003</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>connection_does_not_exist</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>08006</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>connection_failure</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>08001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>sqlclient_unable_to_establish_sqlconnection</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>08004</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>sqlserver_rejected_establishment_of_sqlconnection</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>08007</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>transaction_resolution_unknown</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>08P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>protocol_violation</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 09 &mdash; Triggered Action Exception</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>09000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>triggered_action_exception</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 0A &mdash; Feature Not Supported</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>0A000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>feature_not_supported</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 0B &mdash; Invalid Transaction Initiation</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>0B000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_transaction_initiation</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 0F &mdash; Locator Exception</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>0F000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>locator_exception</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>0F001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_locator_specification</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 0L &mdash; Invalid Grantor</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>0L000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_grantor</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>0LP01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_grant_operation</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 0P &mdash; Invalid Role Specification</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>0P000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_role_specification</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 20 &mdash; Case Not Found</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>20000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>case_not_found</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 21 &mdash; Cardinality Violation</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>21000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>cardinality_violation</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 22 &mdash; Data Exception</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>data_exception</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2202E</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>array_subscript_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22021</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>character_not_in_repertoire</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22008</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>datetime_field_overflow</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22012</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>division_by_zero</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22005</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>error_in_assignment</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2200B</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>escape_character_conflict</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22022</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>indicator_overflow</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22015</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>interval_field_overflow</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2201E</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_argument_for_logarithm</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22014</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_argument_for_ntile_function</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22016</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_argument_for_nth_value_function</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2201F</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_argument_for_power_function</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2201G</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_argument_for_width_bucket_function</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22018</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_character_value_for_cast</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22007</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_datetime_format</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22019</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_escape_character</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2200D</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_escape_octet</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22025</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_escape_sequence</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22P06</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>nonstandard_use_of_escape_character</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22010</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_indicator_parameter_value</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22023</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_parameter_value</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2201B</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_regular_expression</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2201W</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_row_count_in_limit_clause</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2201X</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_row_count_in_result_offset_clause</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22009</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_time_zone_displacement_value</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2200C</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_use_of_escape_character</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2200G</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>most_specific_type_mismatch</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22004</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>null_value_not_allowed</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22002</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>null_value_no_indicator_parameter</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22003</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>numeric_value_out_of_range</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22026</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>string_data_length_mismatch</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>string_data_right_truncation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22011</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>substring_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22027</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>trim_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22024</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>unterminated_c_string</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2200F</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>zero_length_character_string</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>floating_point_exception</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22P02</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_text_representation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22P03</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_binary_representation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22P04</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>bad_copy_file_format</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>22P05</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>untranslatable_character</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2200L</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>not_an_xml_document</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2200M</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_xml_document</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2200N</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_xml_content</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2200S</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_xml_comment</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2200T</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_xml_processing_instruction</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 23 &mdash; Integrity Constraint Violation</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>23000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>integrity_constraint_violation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>23001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>restrict_violation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>23502</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>not_null_violation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>23503</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>foreign_key_violation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>23505</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>unique_violation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>23514</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>check_violation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>23P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>exclusion_violation</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 24 &mdash; Invalid Cursor State</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>24000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_cursor_state</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 25 &mdash; Invalid Transaction State</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_transaction_state</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>active_sql_transaction</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25002</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>branch_transaction_already_active</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25008</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>held_cursor_requires_same_isolation_level</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25003</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>inappropriate_access_mode_for_branch_transaction</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25004</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>inappropriate_isolation_level_for_branch_transaction</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25005</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>no_active_sql_transaction_for_branch_transaction</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25006</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>read_only_sql_transaction</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25007</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>schema_and_data_statement_mixing_not_supported</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>no_active_sql_transaction</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>25P02</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>in_failed_sql_transaction</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 26 &mdash; Invalid SQL Statement Name</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>26000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_sql_statement_name</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 27 &mdash; Triggered Data Change Violation</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>27000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>triggered_data_change_violation</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 28 &mdash; Invalid Authorization Specification</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>28000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_authorization_specification</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>28P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_password</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 2B &mdash; Dependent Privilege Descriptors Still Exist</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2B000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>dependent_privilege_descriptors_still_exist</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2BP01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>dependent_objects_still_exist</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 2D &mdash; Invalid Transaction Termination</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2D000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_transaction_termination</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 2F &mdash; SQL Routine Exception</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2F000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>sql_routine_exception</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2F005</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>function_executed_no_return_statement</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2F002</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>modifying_sql_data_not_permitted</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2F003</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>prohibited_sql_statement_attempted</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>2F004</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>reading_sql_data_not_permitted</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 34 &mdash; Invalid Cursor Name</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>34000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_cursor_name</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 38 &mdash; External Routine Exception</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>38000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>external_routine_exception</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>38001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>containing_sql_not_permitted</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>38002</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>modifying_sql_data_not_permitted</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>38003</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>prohibited_sql_statement_attempted</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>38004</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>reading_sql_data_not_permitted</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 39 &mdash; External Routine Invocation Exception</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>39000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>external_routine_invocation_exception</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>39001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_sqlstate_returned</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>39004</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>null_value_not_allowed</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>39P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>trigger_protocol_violated</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>39P02</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>srf_protocol_violated</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 3B &mdash; Savepoint Exception</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>3B000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>savepoint_exception</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>3B001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_savepoint_specification</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 3D &mdash; Invalid Catalog Name</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>3D000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_catalog_name</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 3F &mdash; Invalid Schema Name</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>3F000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_schema_name</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 40 &mdash; Transaction Rollback</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>40000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>transaction_rollback</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>40002</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>transaction_integrity_constraint_violation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>40001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>serialization_failure</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>40003</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>statement_completion_unknown</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>40P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>deadlock_detected</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 42 &mdash; Syntax Error or Access Rule Violation</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>syntax_error_or_access_rule_violation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42601</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>syntax_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42501</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>insufficient_privilege</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42846</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>cannot_coerce</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42803</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>grouping_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P20</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>windowing_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P19</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_recursion</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42830</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_foreign_key</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42602</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_name</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42622</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>name_too_long</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42939</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>reserved_name</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42804</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>datatype_mismatch</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P18</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>indeterminate_datatype</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P21</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>collation_mismatch</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P22</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>indeterminate_collation</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42809</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>wrong_object_type</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42703</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>undefined_column</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42883</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>undefined_function</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>undefined_table</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P02</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>undefined_parameter</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42704</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>undefined_object</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42701</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>duplicate_column</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P03</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>duplicate_cursor</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P04</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>duplicate_database</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42723</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>duplicate_function</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P05</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>duplicate_prepared_statement</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P06</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>duplicate_schema</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P07</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>duplicate_table</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42712</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>duplicate_alias</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42710</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>duplicate_object</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42702</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>ambiguous_column</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42725</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>ambiguous_function</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P08</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>ambiguous_parameter</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P09</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>ambiguous_alias</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P10</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_column_reference</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42611</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_column_definition</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P11</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_cursor_definition</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P12</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_database_definition</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P13</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_function_definition</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P14</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_prepared_statement_definition</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P15</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_schema_definition</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P16</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_table_definition</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>42P17</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>invalid_object_definition</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 44 &mdash; WITH CHECK OPTION Violation</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>44000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>with_check_option_violation</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 53 &mdash; Insufficient Resources</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>53000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>insufficient_resources</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>53100</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>disk_full</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>53200</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>out_of_memory</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>53300</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>too_many_connections</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 54 &mdash; Program Limit Exceeded</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>54000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>program_limit_exceeded</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>54001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>statement_too_complex</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>54011</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>too_many_columns</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>54023</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>too_many_arguments</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 55 &mdash; Object Not In Prerequisite State</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>55000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>object_not_in_prerequisite_state</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>55006</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>object_in_use</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>55P02</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>cant_change_runtime_param</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>55P03</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>lock_not_available</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 57 &mdash; Operator Intervention</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>57000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>operator_intervention</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>57014</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>query_canceled</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>57P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>admin_shutdown</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>57P02</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>crash_shutdown</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>57P03</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>cannot_connect_now</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>57P04</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>database_dropped</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class 58 &mdash; System Error (errors external to <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
> itself)</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>58030</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>io_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>58P01</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>undefined_file</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>58P02</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>duplicate_file</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class F0 &mdash; Configuration File Error</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>F0000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>config_file_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>F0001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>lock_file_exists</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class HV &mdash; Foreign Data Wrapper Error (SQL/MED)</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV005</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_column_name_not_found</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV002</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_dynamic_parameter_value_needed</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV010</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_function_sequence_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV021</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_inconsistent_descriptor_information</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV024</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_attribute_value</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV007</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_column_name</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV008</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_column_number</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV004</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_data_type</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV006</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_data_type_descriptors</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV091</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_descriptor_field_identifier</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00B</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_handle</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00C</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_option_index</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00D</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_option_name</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV090</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_string_length_or_buffer_length</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00A</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_string_format</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV009</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_invalid_use_of_null_pointer</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV014</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_too_many_handles</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_out_of_memory</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00P</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_no_schemas</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00J</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_option_name_not_found</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00K</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_reply_handle</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00Q</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_schema_not_found</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00R</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_table_not_found</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00L</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_unable_to_create_execution</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00M</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_unable_to_create_reply</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>HV00N</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>fdw_unable_to_establish_connection</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class P0 &mdash; PL/pgSQL Error</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>P0000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>plpgsql_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>P0001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>raise_exception</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>P0002</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>no_data_found</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>P0003</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>too_many_rows</TT
></TD
></TR
><TR
><TD
COLSPAN="2"
><SPAN
CLASS="bold"
><B
CLASS="EMPHASIS"
>Class XX &mdash; Internal Error</B
></SPAN
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>XX000</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>internal_error</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>XX001</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>data_corrupted</TT
></TD
></TR
><TR
><TD
><TT
CLASS="LITERAL"
>XX002</TT
></TD
><TD
><TT
CLASS="SYMBOL"
>index_corrupted</TT
></TD
></TR
></TBODY
></TABLE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="appendixes.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="datetime-appendix.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Appendixes</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="appendixes.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Date/Time Support</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>